<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>1</title>
</head>
<body>
<div id="editor">

</div>

<!-- 注意， 只需要引用 JS，无需引用任何 CSS ！！！-->
<script type="text/javascript" src="/static/js/wangEditor.min.js"></script>
<script type="text/javascript" src="/static/js/common.js"></script>
<script type="text/javascript">

    function printJson(obj) {
        console.log(JSON.stringify(obj));
    }

    var E = window.wangEditor;
    var editor = new E('#editor');
    // 或者 var editor = new E( document.getElementById('editor') )

    autoConfigWangEditor(editor);


    editor.create()
</script>
</body>
</html>